/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.setup.trac.controller;

import com.setup.trac.pojo.wrappers.UtentiView;
import javax.servlet.http.HttpServletRequest;

/**
 *
 * @author edoardo
 */
public class ControllerUtils {
  public static UtentiView getUtenteLoggato(HttpServletRequest request) {
        UtentiView utenteLoggato = (UtentiView) request.getSession().getAttribute("loginForm");
        return utenteLoggato;
    }
}
